sdmdlmodule module¶
-
class
sd.api.mdl.sdmdlmodule.SDMDLModule(APIContext, handle, *args, **kwargs)¶ Bases:
sd.api.sdmodule.SDModuleBase class of all MDL modules
-
getClassName() → str¶ Returns the most specific name of the class this APIObject is
-
getDefinitionFromId(sdDefinitionId: str) → Optional[sd.api.sddefinition.SDDefinition]¶ Get the SDDefinition that matches the specified identifier
- Parameters
sdDefinitionId – The identifier of the SDDefinition to retrieve
-
getDefinitions() → sd.api.sdarray.SDArray[sd.api.sddefinition.SDDefinition][sd.api.sddefinition.SDDefinition]¶ Get all SDDefinition available in the current module
-
getId() → str¶ Get the identifier of the module
-
getTypeFromId(sdTypeId: str) → Optional[sd.api.sdtype.SDType]¶ Get the SDType that matches the specified identifier
- Parameters
sdTypeId – The identifier of the SDType to retrieve
-
getTypes() → sd.api.sdarray.SDArray[sd.api.sdtype.SDType][sd.api.sdtype.SDType]¶ Get all SDTypes declared in the current module
-
release() → None¶ Releases an APIObject
-